package com.zjut.controller;

public class Code {
    public static final Integer USER_LOGIN_OK = 10010;
    public static final Integer USERNAME_ERR = 10011;
    public static final Integer PASSWORD_ERR = 10012;
    public static final Integer STATUS_ERR = 10013;
    public static final Integer ADMIN_LOGIN_OK = 10014;
    public static final Integer LOGIN_NULL_ERR = 10015;
    public static final Integer LOGIN_OUT_OK = 10020;

    public static final Integer MODIFY_PASSWORD_OK = 10030;
    public static final Integer REGISTER_OK = 10040;
    public static final Integer REGISTER_ERR = 10041;

    public static final Integer SAVE_OK = 20010;
    public static final Integer SAVE_ERR = 20011;

    public static final Integer DELETE_OK = 20020;
    public static final Integer DELETE_ERR = 20021;

    public static final Integer UPDATE_OK = 20030;
    public static final Integer UPDATE_ERR = 20031;

    public static final Integer GET_OK = 20040;
    public static final Integer GET_ERR = 20041;

    public static final Integer GENERATE_OK = 30040;
    public static final Integer EXPORT_OK = 30030;
    public static final Integer GENERATE_ERR = 30041;
    public static final Integer EXPORT_ERR = 30031;

    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer SYSTEM_TIMEOUT_ERR = 50002;
    public static final Integer SYSTEM_UNKNOW_ERR = 59999;
}
